A US judge found free speech violations in the government's contacts with social media sites